#include<stdio.h>
int main()
{
	int i=1;
	for(i=3;i<=100;i+=3)
		printf("%d ",i);
	return 0;
}